package collection;

import java.util.ArrayList;
import java.util.Collection;

public class CollectionDemo4 {
    public static void main(String[] args) {
        Collection<Integer> c = new ArrayList<>();
        c.add(123);
        c.add((int)1.1);
        c.add((int)'c');
        System.out.println(c);
    }
}
